package cn.wolfcode.crm.query;

import cn.wolfcode.crm.util.StringUtils;
import lombok.Getter;
import lombok.Setter;

/**
 * 员工高级查询参数对象
 * @author 丧彪
 */
@Setter
@Getter
public class ProductQueryObject extends QueryObject{
        private String keyword; //关键字查询
        private  Long  productCategoryOneId; //一级分类
        private Long productCategoryTwoId;  //二级分类
        private int storeNumber=-1;
    public String getKeyword(){
        if (StringUtils.isEmpty(keyword)){
            return null;
        }
        return keyword;
    }
}
